<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
        body {
            height: 5000px;
        }
    </style>
</head>
<body>
<script>

	window.onscroll = function(){
		console.log(1);
	}



</script>
</body>
</html>